package chap3;
import java.util.Scanner;
public class Task3 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入张三的月考成绩:");
        double score = input.nextDouble();
        boolean a = score >= 60;
        if (!a) {
            System.out.println("成绩不合格");
        } else {
            System.out.println("成绩合格");
        }
    }
}
